package com.im.it.exceptional;

import com.im.it.utils.Codes;
import lombok.Data;

/**
 * @author new
 * @date 2023/7/28 17:03
 */
@Data
public class ServiceExceptional extends RuntimeException {
    //异常的枚举对象
    private Codes codes;

    public ServiceExceptional(Codes codes) {
        this.codes = codes;
    }

}
